package com.ruoyi.course.service;

import java.util.List;
import com.ruoyi.course.domain.LabCourseAdjustDetails;

/**
 * 调课详情Service接口
 * 
 * @author jun.wang
 * @date 2022-04-16
 */
public interface ILabCourseAdjustDetailsService 
{
    /**
     * 查询调课详情
     * 
     * @param id 调课详情ID
     * @return 调课详情
     */
    public LabCourseAdjustDetails selectLabCourseAdjustDetailsById(Long id);

    /**
     * 查询调课详情列表
     * 
     * @param labCourseAdjustDetails 调课详情
     * @return 调课详情集合
     */
    public List<LabCourseAdjustDetails> selectLabCourseAdjustDetailsList(LabCourseAdjustDetails labCourseAdjustDetails);

    /**
     * 新增调课详情
     * 
     * @param labCourseAdjustDetails 调课详情
     * @return 结果
     */
    public int insertLabCourseAdjustDetails(LabCourseAdjustDetails labCourseAdjustDetails);

    /**
     * 修改调课详情
     * 
     * @param labCourseAdjustDetails 调课详情
     * @return 结果
     */
    public int updateLabCourseAdjustDetails(LabCourseAdjustDetails labCourseAdjustDetails);

    /**
     * 批量删除调课详情
     * 
     * @param ids 需要删除的调课详情ID
     * @return 结果
     */
    public int deleteLabCourseAdjustDetailsByIds(Long[] ids);

    /**
     * 删除调课详情信息
     * 
     * @param id 调课详情ID
     * @return 结果
     */
    public int deleteLabCourseAdjustDetailsById(Long id);

    /**
     * 根据课程调整ID删除
     * @param courseId
     * @return
     */
    int deleteLabCourseAdjustDetailsByCourseAdjustId(Long courseId);
    
    Integer existsCourseAdjust(LabCourseAdjustDetails labCourseAdjustDetails);
}
